home *** CD-ROM | disk | FTP | other *** search
/ How to Get Online 1996 Spring / HOW2GON.ISO / mac / FTP / Robert's File Server v1. folder / Robert's File Server v1.10 / Read Me!
Text File  |  1995-11-02  |  4KB  |  65 lines

  1. Robert's File Server v1.10
  2. November 1995
  3.  
  4. Robert's File Server (RFS) is an AppleScript (v1.00) for Eudora Pro. It takes a message as input (à la BART "mac@mac.archive.umich.edu") to send files automaticaly using Eudora's facilities, I'm using it within a UUPC setup, so I'm free to have as many userIDs I want, but it sould be easy to modify the script to work within another kind of setup.
  5.  
  6. I included an older version with the archive wich work with  Eudora 1.4.2, my old Mac Plus didn't like at all newer versions.
  7.  
  8. The only setup it require to run is to define few parameters in the script itself, and then save it as an Applet.
  9.  
  10. I usually launch it using crond for Macintosh, at specific times. Actually it run every hour for about a week without any crash.
  11.  
  12. Settings
  13.  
  14. The only settings you have to setup are a few pathnames, mailboxes names and sysop name…
  15.  
  16. Setting the files and folder: "eudoraSettings" is the pathname of the Eudora Settings files you use for the file-server. "pubdir" is the root level of the files you want to make available to anybody (It's a folder, terminate its name with ":"). "IndexFile" is your files list sent when the user put the word "index" in its message.
  17.  
  18. set eudoraSettings to {alias "yourpath"}
  19. set pubdir to "yourpath:" -- the folder whare the files are
  20. set indexFile to {alias "yourpath"} -- the files list
  21.  
  22. Setting the mailboxes: as the localised versions of Eudora use names differents than "In", "Out" and "Trash" folder it is necessary to identify them correctly. I use a mailbox that I created to place all the messages after they are processed. I trash them manually after checking them. The mailbox "formsMailbox" is used to store the "help" and "aide" texts. Thoses texts are placed in a message, then saved without any receipient and moved to this mailbox. RFS grab the body of those forms and paste it the the outgoing message. The field "Subject:" must contains the word "help" and "aide", RFS locate the message by looking at this field.
  23.  
  24. set inMailbox to "In" -- the name of the incomming mailbox
  25. set trashMailbox to "Trash or anything else" -- the name of the trash mailbox we want to use
  26. set outMailbox to "Out" -- the name of the outgoing messages
  27. set formsMailbox to "Forms" -- the name of our forms mailbox
  28.  
  29. Finally, the "sysop" address will be use to send Bcc of all errors messages, set it to "" if you don't want any.
  30.  
  31. set sysop to "userID" -- who will get the Bcc of error reports if any
  32.  
  33. Starting with version 1.10, I have to run the script on my Mac IIvx (I sold my Plus...) so, I don't want it to eject me out my messages reading (specially when I receive e-mail from satisfacted users) . I add the following instructions at the beginning of the script.
  34.  
  35. -- First check if Eudora is already running. If so, exit with a nice beep.
  36. -- I don't want the script to throw me out my messages reading when I'm
  37. -- using Eudora. This part of the script requires the GTQ Scripting Library's
  38. -- "Is Application Running" scripting addition.
  39. if (is application running "Eudora Pro") then
  40.     beep
  41.     return
  42. end if
  43.  
  44. It's self explanatory,if you don't wnat this feature, simply comment it out.
  45.  
  46. Remember that the script does nothing with the mail itself, you have to setup Eudora to handle the mail in a way it will suit your needs. (i.e. mail attachment always as Mac documents, including signature, etc.)
  47.  
  48. To know more about the commands read the "rfs-help.txt" file. (or "rfs-aide.txt" for the french version). The script shouldn't be hard to understand for somebody who already use AppleScript. I'll be interested in knowing about improvements you  will certainly put in, as weel as geting copies of any version written for diffenents versions.
  49.  
  50. Robert's File Server is freeware. Feel free to distribute it as you whish, as long as you give proper credits.
  51.  
  52. You can reach me at:
  53.  
  54. Robert Pellerin 
  55. <robert@RP.CAM.ORG> (prefered)
  56. <robert@nyongwa.montreal.qc.ca> (alternate)
  57.  
  58. A working setup is available at: <file-server@RP.CAM.ORG>
  59.  
  60. Robert Pellerin
  61. 6270, bd Léger, app. 3
  62. Montréal-Nord, Qc   H1G 1L3
  63.  
  64. November 2, 1995
  65.